/*
 * @Descripttion: 出手鸭小程序
 * @version:1.0.1 
 * @Author: HHL
 * @Date: 2023-10-11 18:35:43
 * @LastEditTime: 2023-11-07 10:24:06
 * @LastEditors: sueRimn
 */


// 登录跳转判断
export default (params) => {
  console.log('params', params)
  let url  = ''

  // #ifdef H5
  url = '/pages/login/index'
  // #endif

  // #ifndef H5
  url = '/pages/auth/index'
  // #endif


  url = params ? `${url}?${params}` : url
  uni.navigateTo({ url })

  return url
}